#if !defined(AFX_TEACHERLIST_H__FF3FFDD0_8E25_4171_9AA7_C6A87C569A1F__INCLUDED_)
#define AFX_TEACHERLIST_H__FF3FFDD0_8E25_4171_9AA7_C6A87C569A1F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Teacherlist.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CTeacherlist dialog
#include "SortListCtrl.h"
class CTeacherlist : public CDialog
{
// Construction
public:
	CString Qparameter(_variant_t a);
	int checktable();
	BOOL Init_list_teacher(CString sql);
	BOOL Init_list_teacher();
	CTeacherlist(CWnd* pParent = NULL);   // standard constructor
		CString sql_del;
// Dialog Data
	//{{AFX_DATA(CTeacherlist)
	enum { IDD = IDD_Teacherlist };
	CListCtrl	m_tealist;
	CListCtrl	m_list1;
	int		m_bjrs;
	CString	m_check_tname;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTeacherlist)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTeacherlist)
	virtual BOOL OnInitDialog();
	afx_msg void OnIDadd();
	afx_msg void OnBUTTONchaxun();
	afx_msg void OnBUTfenshu();
	afx_msg void OnDblclkLISTteacher(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRclickLISTteacher(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEACHERLIST_H__FF3FFDD0_8E25_4171_9AA7_C6A87C569A1F__INCLUDED_)
